//
   Created by wdj on 16/4/21.

//div.list-block
//    ul
//        each job in jobs
//            li
//                a.item-link.item-content
//                    div.item-media
//                        i.icon.icon-camera
//
//                    div.item-inner
//                        div.item-title #{job.title}
//                        div.item-after #{job.text}
each job in jobs
    div.card.facebook-card
        a.card-header.no-border(href="pages/message.jade?nick=#{job.title}&avatar=#{encodeURIComponent(job.avatar||'http://i4.qhimg.com/t01e59e18f698045b8c.jpg')}")
            div.facebook-avatar
                if(job.avatar)
                    img.user-avatar(src="#{job.avatar}" width=38 height=38)
                else
                    img.user-avatar(src="http://i4.qhimg.com/t01e59e18f698045b8c.jpg" width=38 height=38)
            div.facebook-name #{job.title}
            div.facebook-date Monday at 3:47 PM

        div.card-content
            if(!job.text)
                if(job.img)
                    img(src="#{job.img}" width='100%')
            else
                div.card-content-inner
                    p #{job.text}
                    if(job.img)
                        img(src="#{job.img}" width='100%')

        div.card-footer.no-border
            a.link
                i.iconfont.icon-daohanghaiwaigou.icon-3px
                span 代购

            a.link 评论
                span (12)
            a.link.share-link
                i.iconfont.icon-fenxiang
                span 分享